﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Add
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h2>Add</h2>


<% //Html.DropDownList("ing", (SelectList)ViewData["IngridientID"]) %> 

<% using (Html.BeginForm("Add", "Event"))
   { %>
<table>
    <tr><td>Place</td>             <td><%= Html.TextBox("idPlace")%></td></tr>
    <tr><td>Hall</td>              <td><%= Html.TextBox("idHall")%></td></tr>
    <tr><td>uaCaption</td>         <td><%= Html.TextBox("uaCaption")%></td></tr>
    <tr><td>ruCaption</td>         <td><%= Html.TextBox("ruCaption")%></td></tr>
    <tr><td>enCaption</td>         <td><%= Html.TextBox("enCaption")%></td></tr>
    <tr><td>start</td>             <td><%// Html.TextBox("start")%></td></tr>
    <tr><td>end</td>               <td><%// Html.TextBox("end")%></td></tr>
    <tr><td>endReservation</td>    <td><%// Html.TextBox("endReservation")%></td></tr>
    <tr><td>description</td>       <td><%// Html.TextBox("description")%></td></tr>
    <tr><td>mainPhoto</td>         <td><%// Html.TextBox("mainPhoto")%></td></tr>
    <tr><td>maxCountTickets</td>   <td><%// Html.TextBox("maxCountTickets")%></td></tr>
    <tr><td>priceInPlace</td>      <td><%// Html.TextBox("priceInPlace")%></td></tr>
    <tr><td>priceInDescription</td><td><%// Html.TextBox("priceInDescription")%></td></tr>
    <tr><td></td>                  <td><input type="submit" value="  Add  " name="add"/></td></tr>
</table>
<% } %>

</asp:Content>
